import Vue from 'vue';
import App from './App.vue';

import router from '@/router/index.js';
import { Button, Toast, Popup, Icon, Uploader, Dialog, Field, Picker, List, Tab, Tabs, PullRefresh, Search } from 'vant';
Vue.use(Button)
  .use(Toast)
  .use(Popup)
  .use(Uploader)
  .use(Icon)
  .use(Dialog)
  .use(Field)
  .use(Picker)
  .use(List)
  .use(Tab)
  .use(Tabs)
  .use(PullRefresh)
  .use(Search);

import moment from "moment"; // 1.引入
Vue.prototype.$moment = moment; // 2.挂载到原型
moment.locale("zh-cn"); // 3.汉化

Vue.config.productionTip = false;


import '@/styles/reset.less';

new Vue({
  router,
  render: h => h(App),
}).$mount('#app');
